Skip to content

feat: implement repo-mode#290

Merged
mafredri merged 4 commits into
mainfrom
mafredri/repo-mode
Aug 1, 2024
Merged

feat: implement repo-mode#290
mafredri merged 4 commits into
mainfrom
mafredri/repo-mode

Conversation

@mafredri
Copy link
Copy Markdown
Member

Fixes #218

@mafredri mafredri force-pushed the mafredri/repo-mode branch 3 times, most recently from 0acb5f6 to 5d4e5ca Compare July 30, 2024 18:04
Comment thread git/git.go
Comment thread git/git.go
Comment thread options/options.go Outdated
Comment thread options/testdata/options.golden Outdated
Comment thread envbuilder.go Outdated
@mafredri mafredri force-pushed the mafredri/repo-mode branch from 5d4e5ca to 54a037e Compare August 1, 2024 13:23
@mafredri mafredri marked this pull request as ready for review August 1, 2024 13:29
@mafredri mafredri requested a review from johnstcn August 1, 2024 13:29
@mafredri
Copy link
Copy Markdown
Member Author

mafredri commented Aug 1, 2024

Rebased on main and amended PR feedback, ready for round 2.

Copy link
Copy Markdown
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Comment thread options/options.go
return sb.String()
}

func (o *Options) CABundle() ([]byte, error) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this approach of hanging it off Options!

Comment thread git/git_test.go
t.Run("OK", func(t *testing.T) {
// 2024/08/01 13:22:08 unsupported capability: shallow
// clone "http://127.0.0.1:41499": unexpected client error: unexpected requesting "http://127.0.0.1:41499/git-upload-pack" status code: 500
t.Skip("The gittest server doesn't support shallow cloning, skip for now...")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😿

@mafredri mafredri merged commit 9073748 into main Aug 1, 2024
@mafredri mafredri deleted the mafredri/repo-mode branch August 1, 2024 15:07
johnstcn pushed a commit that referenced this pull request Aug 5, 2024
(cherry picked from commit 9073748)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement "repo-mode" to use the repo as source of truth for devcontainer/Dockerfile

2 participants